package com.wan.personnel2.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

public class NoticeInf extends Model<NoticeInf> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String title;

    private String content;

    @TableField("createDate")
    private String createDate;

    @TableField("userId")
    private Integer userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "NoticeInf{" +
            "id=" + id +
            ", title=" + title +
            ", content=" + content +
            ", createDate=" + createDate +
            ", userId=" + userId +
        "}";
    }
}
